package com.gsc.service;

import com.gsc.dao.StudentMapper;
import com.gsc.model.Student;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class StudentService {
    @Autowired
    private StudentMapper studentMapper;


    public List<Student> selectAll() {
        System.out.println("--selectAll-");
        return studentMapper.selectAll();
    }
}
